package net.lab1024.sa.admin.module.business.core.material.dao;

import java.util.List;
import net.lab1024.sa.admin.module.business.core.material.domain.entity.MaterialEntity;
import net.lab1024.sa.admin.module.business.core.material.domain.form.MaterialQueryForm;
import net.lab1024.sa.admin.module.business.core.material.domain.vo.MaterialVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 物料信息表 Dao
 *
 * @Author ADog
 * @Date 2025-09-19 16:40:32
 * @Copyright 1.0
 */

@Mapper
public interface MaterialDao extends BaseMapper<MaterialEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<MaterialVO> queryPage(Page page, @Param("queryForm") MaterialQueryForm queryForm);

}
